# -*- coding: utf-8 -*-

# Define here the models for your scraped items
#
# See documentation in:
# https://doc.scrapy.org/en/latest/topics/items.html

import scrapy


class ZhipinItem(scrapy.Item):
    # define the fields for your item here like:
    job_name = scrapy.Field()        # 职位名
    url = scrapy.Field()             # 职位链接
    city = scrapy.Field()            # 城市
    job_area = scrapy.Field()        # 城区
    address = scrapy.Field()         # 工作地址
    salary = scrapy.Field()          # 薪水
    min_salary = scrapy.Field()      # 最低工资
    max_salary = scrapy.Field()      # 最高工资
    avg_salary = scrapy.Field()      # 最高工资
    education = scrapy.Field()       # 学历
    experience = scrapy.Field()      # 工作经验
    company_name = scrapy.Field()    # 公司名
    industry = scrapy.Field()        # 行业
    # sel_stage = scrapy.Field()       # 融资阶段
    sel_scale = scrapy.Field()       # 规模
    skill = scrapy.Field()           # 技术点
    welfare = scrapy.Field()         # 公司福利
    description = scrapy.Field()     # 工作描述

class testFileItem(scrapy.Item):
    user_agent = scrapy.Field()
    num = scrapy.Field()

class hupuItem(scrapy.Item):
    title = scrapy.Field()

class test_ZhipinItem(scrapy.Item):
    # define the fields for your item here like:
    job_name = scrapy.Field()        # 职位名
    url = scrapy.Field()             # 职位链接
    city = scrapy.Field()            # 城市
    # job_area = scrapy.Field()        # 城区
    address = scrapy.Field()         # 工作地址
    skill = scrapy.Field()           # 技术点
    salary = scrapy.Field()          # 薪水
    min_salary = scrapy.Field()      # 最低工资
    max_salary = scrapy.Field()      # 最高工资
    avg_salary = scrapy.Field()      # 最高工资
    education = scrapy.Field()       # 学历
    experience = scrapy.Field()      # 工作经验
    company_name = scrapy.Field()    # 公司名
    industry = scrapy.Field()        # 行业
    sel_stage = scrapy.Field()       # 融资阶段
    sel_scale = scrapy.Field()       # 规模
    welfare = scrapy.Field()         # 公司福利
    description = scrapy.Field()     # 工作描述
    company_info = scrapy.Field()    # 公司介绍